export default {
  // 定义 model 的初始 state
  state: {
    tipstate: false,
  },

  // 定义改变该模型状态的纯函数
  reducers: {
    setTips(preState, newState: { tipstate: Boolean }) {
      return { ...preState, ...newState };
    },
  },
};
